package com.qiall.boot.util.controller.wather.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 高德地图城市编码
 */
@Data
@Document(indexName = "gd",type = "gd_city_code",shards = 1)
public class GdCityInfoEntity {
    @Id
    private Integer id;

    @Field(type = FieldType.Text)
    private String chineseName;

    @Field(type = FieldType.Keyword)
    private String adCode;

    @Field(type = FieldType.Keyword)
    private String cityCode;


}
